function Student() {
    say = function () {
        console.log('我是学生');
    }
}

let s1 = new Student();
s1.say()